package com.zmytest.service;

import com.zmytest.dto.AccountDto;
import com.zmytest.dto.LoginDto;
import com.zmytest.dto.ResponseDto;
import com.zmytest.dto.UserDto;
import com.zmytest.model.Account;
import com.zmytest.model.User;

/**
 * Created on 2018/12/19.
 *
 * @author zhangmingyu
 */
public interface AccountService {

    ResponseDto<Account> create(AccountDto accountDto);

    ResponseDto<Account> find(Long id);

    ResponseDto<Account> update(AccountDto accountDto);

    ResponseDto<String> delete(Long id);

}
